<include file="public@header"/>
</head>
<body>
</head>
<body>
<div class="wrap js-check-wrap">
    <form method="post" class="js-ajax-form margin-top-20" action="">
		<if condition="$listcount gt 0">
			<table class="table table-hover table-bordered">
				<tbody>
					<foreach name="list" item="vo">
						<tr>
							<td align="center">
								<table class="table table-hover table-bordered comment_lists_table">
									<tbody>
										<tr>
											<if condition="$vo.type eq '1'">
												<td width="70%">
													<video width="320" height="50" controls>
														  <source src="{$vo.voice}"  type="video/mp4">
													</video>
												</td>
											<else/>
												<td width="70%">{$vo.content}</td>
											</if>
											<td width="30%">{$vo.user_nickname}({$vo.uid})</td>
											<td></td>
										</tr>
										<tr>
											<td>评论时间 : {:date('Y-m-d H:i',$vo['addtime'])}</td>
											<td>获赞数:{$vo['likes']}</td>
											<td>
												<a class="btn btn-xs btn-danger js-ajax-delete"  href="{:url('Dynamic/delcomment',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>
											</td>
										</tr>
									</tbody>
								</table>
							</td>
						</tr>
					</foreach>
				</tbody>
			</table>
		<else/>
			<table style="border: none;width: 100%;">
				<tbody>
					<tr>
						<td style="border: none;height: 50px;line-height: 50px;text-align: center;">暂无评论数据~</td>
					</tr>
				</tbody>
			</table>
		</if>
		<div class="pagination">{$page}</div>
    </form>

</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>